package com.mystring.service;

import com.mystring.po.Product;

import java.util.List;

/**
 * ClassName: ProductService
 * Package: com.mystring.service
 * Description:
 *
 * @Author 刘英杰
 * @Create 2024/12/6 21:15
 * @Version 1.0
 */
public interface ProductService {

    default void saveProduct(Product product) {};

    void updateProduct(Product product);

    default void deleteProduct(int id) {};

    List<Product> findAll();

    default Product findById(int id) {return null;};
}
